import { BasicFormBox } from "@pkg";
import { BaseComponent, ComponentStyleType } from "../../type";
import { PopupEvent, PopupOptions } from "../type";

export interface DialogOptions extends PopupOptions<BaseComponent> {
	type?: ComponentStyleType;
	width?: string;
	height?: string;
}
export interface DialogPropOptions extends DialogOptions {
	zIndex: number;
}
export type PopupComponentEvent = PopupEvent & {
	getFormInstance: () => BasicFormBox<Record<string, any>>;
};
